package com.ljwm.model.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.NotBlank;


/**
 * BootBaseDemo Created by yunqisong on 2018-05-22.
 * FOR:
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class LoginForm {

    @NotBlank(message = "用户名不可以为空!")
    private String username;

    @NotBlank(message = "密码不可以为空!")
    private String password;

}
